get current user
the authentication credential should be stored in a cookie named 'authentication_credential'.
url
GET https://yorkyao.xyz/api/user
headers
cookies
response body
| key name | value type |
|---|---|
| user | User |
the authentication credential should be stored in a cookie named 'authentication_credential'.
GET https://yorkyao.xyz/api/user
| key name | value type |
|---|---|
| user | User |